package com.itestor.iptv.modules.common.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 权限组
 * @author masaki
 *
 */
@Entity
@Table(name = "RoleGroup")
public class RoleGroup {
	/**
	 * 主键
	 */
	private Integer id;
	/**
	 * 权限分组
	 */
	private String roleGroupName;
	/**
	 * 描述
	 */
	private String description;
	@Id
	@GeneratedValue
	@Column(name = "ID")
	public Integer getId() {
		return id;
	}
	@Column(name = "ROLEGROUPNAME" , length = 64)
	public String getRoleGroupName() {
		return roleGroupName;
	}
	@Column(name = "DESCRIPTION" ,length = 255)
	public String getDescription() {
		return description;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public void setRoleGroupName(String roleGroupName) {
		this.roleGroupName = roleGroupName;
	}
	public void setDescription(String description) {
		this.description = description;
	}
}
